﻿using System;
namespace Lswweb.Model
{
    /// <summary>
    /// 资源加载类型
    /// </summary>
    public enum ResourceManagerType
    {
        /// <summary>
        /// 字符串,即Languages/xx/Resource.xml文件内的信息
        /// </summary>
        String,

        /// <summary> 
        /// 提示信息,即Languages/xx/Message.xml文件内的信息
        /// </summary>
        Message,

        /// <summary>
        /// 配置信息 即Languages/xx/Settings.config文件内的信息
        /// </summary>
        Settings,

        /// <summary>
        /// 站点地图信息 即Languages/xx/Maps.config文件内的信息
        /// </summary>
        Maps
    }

    /// <summary>
    /// 普通状态类型
    /// </summary>
    public enum StatusType
    {
        /// <summary>
        /// 管理员禁用
        /// </summary>
        Disabled = 0,

        /// <summary>
        /// 启用
        /// </summary>
        Enabled = 1,

        /// <summary>
        /// 过期的
        /// </summary>
        Overdue = 3,

        /// <summary>
        /// 锁定的
        /// </summary>
        Locked = 4,

        /// <summary>
        /// 删除状态
        /// </summary>
        Deleted = 5
    }

    /// <summary>
    /// 审核状态类型
    /// </summary>
    public enum AuditingStatusType
    {
        /// <summary>
        /// 审核中
        /// </summary>
        ApprovalPending = 0,

        /// <summary>
        /// 审核通过
        /// </summary>
        Approved = 1,

        /// <summary>
        /// 审核未通过
        /// </summary>
        Disapproved = 2
    }

    public enum SearchKeyType
    {
        /// <summary>
        /// 新闻标题
        /// </summary>
        Title,

        /// <summary>
        /// 新闻关键字
        /// </summary>
        Key,

        /// <summary>
        /// 发布者
        /// </summary>
        Promulgator
    }

    public enum BooleanType
    {
        None = 2,
        True = 1,
        False = 0
    }

    public enum SiteModule
    {
        User,
        News,
        Product,
        ProductStorage,
        UpFile,
        TreeView,
        SinglePage,
        Subscribe,
        Links,
        Order,
        Commentary,
        GuestBook,
        Message,
        Currency,
        WholesaleRule, 
        Newsletter,
        LogisticsCompany
    }
}
